﻿using AutoMapper;
using PlatformUW.Entities;
using PlatformUW.Entities.Dtos;

namespace PlatformUW.API
{
    public class MappingProfile : Profile
    {
        public MappingProfile()
        {
            CreateMap<Player, PlayerDto>();
            CreateMap<Player, PlayerWithCharacterDto>();
            CreateMap<PlayerForCreateDto, Player>();
            CreateMap<PlayerForUpdateDto, Player>();
            CreateMap<Characters, CharacterDto>();

            CreateMap<SensorTable, SensorDto>();
        }
    }
}
